package com.chg.mymvc.service;

import com.chg.mymvc.entity.User;

import java.util.List;

public interface UserService {
    public void delUser(int id);
    public void updateUser(User user);
    public List<User> queryAll(int page, int pagesize);
    public User getUserByName(String name);
    public User getUsersByName(String name);
    public int addUser(User user);
    public User selecUsertById(int id);
    public int allcount();
}
